package com.itheima.rpc.server.boot;


import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

@Configuration
public class RpcServerBootStrap {

    @Resource
    private RpcServerRun rpcServerRun;

    @PostConstruct
    public void initRpcServer() {
        rpcServerRun.run();
    }
}
